package com.lz.football.module.compete.item
{
	import com.common.utils.Reflection;
	import com.lz.football.module.base.IComponent;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	public class InlandResultItem extends Sprite implements IComponent
	{
		private var _skin:MovieClip;
		public function InlandResultItem()
		{
			super();
		}
		
		public function initUI(view:Object=null):void
		{
		}
		
		public function getData($obj:Object):void
		{
			_skin = Reflection.createInstance("com.football.compete.matchResultItem");
			_skin.gotoAndPlay(1);
			_skin.addFrameScript(_skin.totalFrames-1,mcStop);
			this.addChild(_skin);
			
		}
		private function mcStop():void
		{
			_skin.stop();
			this.removeChild(_skin);
		}
		public function addEvtListener():void
		{
		}
		
		public function removeEvtListener():void
		{
		}
		
		public function destroyView():void
		{
		}
	}
}